package com.aispeech.astools.jni;



/**
 *
 * @author rain  06.19 2019 
 */

public    class NativeCall   {
    public interface JniCallback {
        void onBuf(byte[] array);

        void onEvent(int keycode, int event);
    }

    public static native int registerCallbackToJni(JniCallback cb);

    public static native void feedBufToJNI(byte[] buf, int len);
}
